package dao;

import entity.EmployeeChange;
import org.springframework.jdbc.core.BeanPropertyRowMapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface EmployeeChangeDao {

    // 创建员工变更记录
    public Boolean create(EmployeeChange employeeChange) ;

    // 查询所有员工变更记录
    public List<EmployeeChange> findAll() ;

    // 根据ID查询单个员工变更记录
    public EmployeeChange findById(Long id) ;

    // 更新员工变更记录
    public Boolean update(EmployeeChange employeeChange) ;

    // 删除员工变更记录
    public Boolean deleteById(Long id) ;

}
